#ifndef __mml_api_h__
#define __mml_api_h__

/**
\def MMLAPI
\brief Control MS Windows DLL construction.

Make the construction and usage of MS Windows DLL's easy.
Define the MML_EXPORTS macro in the Visual Studio compiler settings
when building the dll and everything should work.
*/

#if defined(_WIN32) || defined(WIN32)

#pragma warning (disable: 4305)

#ifdef mml_EXPORTS
#define MMLAPI __declspec(dllexport)
#else
#define MMLAPI __declspec(dllimport)
#endif
#else
#define MMLAPI
#endif

#ifdef sgi
#define TYPENAME
#else
#define TYPENAME typename
#endif

#endif

